PhD

The LaTeX sources of my Ph.D. thesis
git clone https://esimon.eu/repos/PhD.git
Log | Files | Refs | README | LICENSE

line graph.tex (1782B)


      1 \kern2mm%
      2 \begin{tikzpicture}[
      3 		gn/.style={circle,line width=1mm,inner sep=0.3mm, minimum width=5mm,anchor=center,draw=black!50},
      4 		gn1/.style={gn, draw=Dark2-A},
      5 		gn2/.style={gn, draw=Dark2-B},
      6 		gn3/.style={gn, draw=Dark2-C},
      7 		gn4/.style={gn, draw=Dark2-D},
      8 		gn5/.style={gn, draw=Dark2-E},
      9 		gn6/.style={gn, draw=Dark2-F},
     10 		gn7/.style={gn, draw=Dark2-G},
     11 		gn8/.style={gn, draw=Dark2-H},
     12 ]
     13 
     14 \node[gn] (ga) at (0, 1.5) {\(a\)};
     15 \node[gn] (gb) at (1, 0.5) {\(b\)};
     16 \node[gn] (gc) at (2, 1.5) {\(c\)};
     17 \node[gn] (gd) at (3, 2.5) {\(d\)};
     18 \node[gn] (ge) at (3, 0.5) {\(e\)};
     19 \node[gn] (gf) at (4, 1.5) {\(f\)};
     20 
     21 \draw[ultra thick, Dark2-A] (ga) -- (gb);
     22 \draw[ultra thick, Dark2-B] (ga) -- (gc);
     23 \draw[ultra thick, Dark2-C] (gb) -- (gc);
     24 \draw[ultra thick, Dark2-D] (gc) -- (gd);
     25 \draw[ultra thick, Dark2-E] (gc) -- (ge);
     26 \draw[ultra thick, Dark2-F] (gc) -- (gf);
     27 \draw[ultra thick, Dark2-G] (gd) -- (gf);
     28 \draw[ultra thick, Dark2-H] (ge) -- (gf);
     29 
     30 \node[gn1] (lab) at (0   , -3) {\(ab\)};
     31 \node[gn2] (lac) at (0.72, -2) {\(ac\)};
     32 \node[gn3] (lbc) at (1.44, -3) {\(bc\)};
     33 \node[gn4] (lcd) at (2.88, -1) {\(cd\)};
     34 \node[gn5] (lce) at (2.88, -3) {\(ce\)};
     35 \node[gn6] (lcf) at (3.6 , -2) {\(cf\)};
     36 \node[gn7] (ldf) at (4.32, -1) {\(df\)};
     37 \node[gn8] (lef) at (4.32, -3) {\(ef\)};
     38 
     39 \draw (lab) -- (lac);
     40 \draw (lab) -- (lbc);
     41 \draw (lac) -- (lbc);
     42 \draw (lac) -- (lcd);
     43 \draw (lac) -- (lce);
     44 \draw (lac) -- (lcf);
     45 \draw (lbc) -- (lcd);
     46 \draw (lbc) -- (lce);
     47 \draw (lbc) -- (lcf);
     48 \draw (lcd) -- (lce);
     49 \draw (lcd) -- (lcf);
     50 \draw (lcd) -- (ldf);
     51 \draw (lce) -- (lcf);
     52 \draw (lce) -- (lef);
     53 \draw (lcf) -- (ldf);
     54 \draw (lcf) -- (lef);
     55 \draw (ldf) -- (lef);
     56 
     57 \node[anchor=west] at (0, 2.5) {\normalsize \(G\):};
     58 \node[anchor=west] at (0, -1) {\normalsize \(L(G)\):};
     59 \end{tikzpicture}